package com.pat.om;

import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class Location {

	private int cellNo;
	
	private String latitude;
	
	private String longtitude;
	
	private Date timestamp;
	
	public Location()
	{
		
	}
	
	public Location(int cellNo, String latitude, String longtitude, Date timestamp) {
		this.cellNo = cellNo;
		this.latitude = latitude;
		this.longtitude = longtitude;
		this.setTimestamp(timestamp);
	}

	public void setCellNo(int cellNo) {
		this.cellNo = cellNo;
	}

	public int getCellNo() {
		return cellNo;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLongtitude(String longtitude) {
		this.longtitude = longtitude;
	}

	public String getLongtitude() {
		return longtitude;
	}

	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

	public Date getTimestamp() {
		return timestamp;
	}

}
